﻿using System.Collections.Generic;
using DAO;
using DTO;

namespace BUS
{
    public class Like_TinRaoVatBUS
    {
        public static List<Like_TinRaoVatDTO> getAll()
        {
            return Like_TinRaoVatDAO.getAll();
        }

        public static Like_TinRaoVatDTO getAlongCode(int maLike)
        {
            return Like_TinRaoVatDAO.getAlongCode(maLike);
        }

        public static void Insert(Like_TinRaoVatDTO _insert)
        {
            Like_TinRaoVatDAO.Insert(_insert);
        }

        public static void Delete(int maLike)
        {
            Like_TinRaoVatDAO.Delete(maLike);
        }

        public static void Update(Like_TinRaoVatDTO dto)
        {
            Like_TinRaoVatDAO.Update(dto);
        }
    }
}
